package com.googlecode.mailnet.info;

import com.googlecode.mailnet.netmodel.MessageFlow;

/**
 * Message information adapter.
 * @author gleb
 */
public interface IMessageInfo {
	
	/**
	 * Returns the size of the message.
	 * @return Message size.
	 */
	int size();
	
	/**
	 * Returns the priority of this message.
	 * @return Message priority.
	 */
	int priority();
	
	/**
	 * Returns the parent message flow.
	 * @return Parent message flow configuration object.
	 */
	MessageFlow getMessageFlow();
}
